<?php


namespace app\text\controller;


use think\Controller;

class Block extends Controller
{
      public function index(){
         $this->view->engine->layout(true);
          $this->assign('title','模板');
          return $this->fetch('index');

      }

      public function extend(){
          $this->assign('Title','模板');
          return $this->fetch('extend');
      }
}